package com.awplanet.sitegen.data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * User: a_polyakov
 */
public class Department extends HashMap {

    private final List<DepartmentWorkTime> workTimeList = new ArrayList<DepartmentWorkTime>();
    private final List<DepartmentService> serviceList = new ArrayList<DepartmentService>();

    public Department(String name, String address, String zipCode, String flag1, String phone) {
        super(5);
        put("department.name", name);
        put("department.address", address);
        put("department.zip_code", zipCode);
        // TODO
        put("department.flag1", flag1);
        put("department.phone", phone);
    }

    public List<DepartmentWorkTime> getWorkTimeList() {
        return workTimeList;
    }

    public List<DepartmentService> getServiceList() {
        return serviceList;
    }
}
